﻿<Window x:Class="CECB.LeopoldMetrixCharts.check_Window1"
         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="SimpleMatrixCalculation"
           xmlns:toolkit="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Input.Toolkit"      
        WindowStartupLocation="CenterScreen"   Background="#AA000000" 
        AllowsTransparency="True" WindowStyle="None" WindowState="Maximized"
        mc:Ignorable="d" xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006">

    <Grid Margin="0,70,0,0" >

        <Rectangle   Width="550" Height="390" Stroke="White" RadiusY="19.5" RadiusX="19.5" StrokeThickness="4" Margin="0,14,-14,246">
            <Rectangle.Effect>
                <DropShadowEffect Direction="330" BlurRadius="24" ShadowDepth="13" />
            </Rectangle.Effect>
            <Rectangle.Fill>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="Black" Offset="0" />
                    <GradientStop Color="#FFA3A1A1" Offset="0.494" />
                    <GradientStop Color="#FF272121" Offset="0" />
                    <GradientStop Color="#FF272121" Offset="1" />
                </LinearGradientBrush>
            </Rectangle.Fill>
        </Rectangle>

        <StackPanel Orientation="Vertical" Width="540" Margin="30,50,0,0">
            <StackPanel Orientation="Horizontal">
                <Label Content="Leopold Matrix Calculation " Height="44" HorizontalAlignment="Left" Margin="5,10,0,0" VerticalAlignment="Center" Width="265" FontSize="20" FontStretch="Normal" FontStyle="Normal" FontWeight="Black" Foreground="#FFEFEFEF" Canvas.Left="133" Canvas.Top="24"></Label>
                <Button   Margin="215,15,0,0"  Height="42" Width="42" VerticalAlignment="Top" Name="ButtonClose" Click="ButtonClose_Click" >
                    <Grid>
                        <Image Height="32" Margin="2" Source="/CECB;component/images/closeblack.png"  Width="32"   />
                    </Grid>
                </Button>
            </StackPanel>
            <StackPanel Orientation="Vertical">
                <GroupBox Height="288" Width="509">
                    <StackPanel Orientation="Vertical">
                        <StackPanel Height="51" Name="stackPanel1" Width="504" Orientation="Horizontal"  >
                            <Label Content="Project" Height="28" Name="label2" Width="182" Margin="25,10,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="15" FontStyle="Italic" Foreground="White" BorderBrush="White" BorderThickness="0" />
                            <toolkit:AutoCompleteBox Background="#FFFFEDBA"   BorderBrush="#FFF8F8F8" BorderThickness="2" FilterMode="Contains" FontSize="18" Height="30" IsTabStop="True" ItemsSource="{Binding}" Name="ProjectAutocompleteTextBox" Opacity="1" TabIndex="1" UseLayoutRounding="False" ValueMemberPath="proj_name" Width="267.5" SelectionChanged="ProjectAutocompleteTextBox_SelectionChanged_1">
                                <toolkit:AutoCompleteBox.ItemTemplate>
                                    <DataTemplate>
                                        <StackPanel Orientation="Horizontal">
                                            <TextBlock Text="{Binding Path=proj_reference}" />
                                            <TextBlock Text=" - " />
                                            <TextBlock Text="{Binding Path=proj_name}" />
                                        </StackPanel>
                                    </DataTemplate>
                                </toolkit:AutoCompleteBox.ItemTemplate>
                            </toolkit:AutoCompleteBox>
                        </StackPanel>



                        <WrapPanel  Orientation="Horizontal" Width="509"   Height="36">
                            <Label Content="Physical Impact" Height="30" Width="182" Name="label1" HorizontalAlignment="Left" Margin="25,0,0,0" VerticalAlignment="Top" FontSize="15" FontStyle="Italic" FontWeight="Medium" Foreground="White" BorderThickness="0" BorderBrush="White" />
                            <TextBox Height="30" HorizontalAlignment="Left" Margin="0,0,0,0" Name="textBox_PhysicalImpact" VerticalAlignment="Top" Width="170" FontSize="14" Foreground="#FF4E0000" IsReadOnly="True" Background="#FFFFEDBA" />
                            <Label Content=" " Height="28" Name="label_physicalImpactPresentage" Margin="10,0,0,0" FontSize="15" Foreground="White" FontWeight="Bold" Width="35" />
                            <Label Content=" " Height="28" Name="label_presentageMark1" FontSize="14" Foreground="White" />
                        </WrapPanel>
                        <WrapPanel  Orientation="Horizontal"   >
                            <Label Content="Echologycal Impact" Height="38" Width="182" Name="label4" HorizontalAlignment="Left" Margin="25,0,0,0" VerticalAlignment="Top" FontSize="15" FontStyle="Italic" FontWeight="Medium" Foreground="White" BorderThickness="0" BorderBrush="White" />
                            <TextBox Height="30" HorizontalAlignment="Left" Margin="0,0,0,0" Name="textBox_EchologicalImpact" VerticalAlignment="Top" Width="170" MinHeight="30" MaxHeight="60" TextWrapping="Wrap" AcceptsReturn="True" FontSize="14" Foreground="#FF4E0000" IsReadOnly="True" Background="#FFFFEDBA" />
                            <Label Content=" " Height="28" Name="label_EchologicalImpactPresentage" Margin="10,0,0,0" FontSize="15" Foreground="White" FontWeight="Bold" Width="35" />
                            <Label Content=" " Height="28" Name="label_presentageMark3" FontSize="14" Foreground="White" />
                        </WrapPanel>
                        <WrapPanel Orientation="Horizontal" >
                            <Label Content="Sociological impact" Height="38" Width="182" Name="label5" HorizontalAlignment="Left" Margin="25,0,0,0" VerticalAlignment="Top" FontSize="15" FontStyle="Italic" FontWeight="Medium" Foreground="White" BorderThickness="0" BorderBrush="White" />
                            <TextBox Height="auto" HorizontalAlignment="Left" Margin="0,0,0,0" Name="textBox_SocialImpact" VerticalAlignment="Top" Width="170" MinHeight="30" MaxHeight="60" TextWrapping="Wrap" AcceptsReturn="True" FontSize="14" Foreground="#FF4E0000" IsReadOnly="True" Background="#FFFFEDBA" />
                            <Label Content=" " Height="28" Name="label_sociologicalImpactPresentage" Margin="10,0,0,0" FontSize="15" Foreground="White" FontWeight="Bold" Width="35" />
                            <Label Content=" " Height="28" Name="label_presentageMark2" FontSize="14" Foreground="White" />
                        </WrapPanel>
                        <WrapPanel Orientation="Horizontal" >
                            <Label Content="Total" Width="180" Height="38" Name="labelusername" HorizontalAlignment="Left" Margin="25,0,0,0" VerticalAlignment="Top" FontSize="15" FontStyle="Italic" FontWeight="Medium" Foreground="White" BorderThickness="0" BorderBrush="White" />
                            <TextBox Height="30" Margin="0,2,0,0" Name="textBox_total" Width="172" FontSize="14" Foreground="#FF4E0000" IsReadOnly="True" Background="#FFFFEDBA" />
                        </WrapPanel>
                        <StackPanel   >


                            <StackPanel Name="stackPanel14" Margin="0,20,0,0" Orientation="Horizontal"  >
                                <Button Content="View Diagrams" Margin="200,0,0,0" FontSize="16" Foreground="White" Cursor="Hand" Background="#FF2E2B31" BorderBrush="{x:Null}" Height="44"   Name="ReportButton" Width="148" Click="ReportButton_Click">

                                </Button>
                            </StackPanel>

                        </StackPanel>
                    </StackPanel>
                </GroupBox>

            </StackPanel>
        </StackPanel>

    </Grid>
</Window>
